﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace NintexCustomWFActions
{
    public class Constants
    {
        public const string CryptoKey = "NintexCustomWFActivities.CryptoKey";
        public const string ExecutePowerShellActivitySigningRequired = "NintexCustomWFActivities.PowerActivitySigningRequired";
        public const string ExecutePowerShellActivityDefaultScript = "NintexCustomWFActivities.ExecutePowerShellActivityDefaultScript";
        public const string EncryptedPasswordPrefix = "enc::";
        public const string WorkflowInstanceIdToken = "[WorkflowInstanceId]";
        public const string WebUrlToken = "[WebUrl]";
    }

    internal static class LoggingConstants
    {
        internal const string LOGGING_AREA = "Nintex Custom Workflow Actions";
        internal const string LOGGING_AREA_CATEGORY_ACTION = "Action Code";
        internal const string LOGGING_AREA_CATEGORY_ACTIVITY = "Activity Code";
    }

    internal enum EventId : int
    {
        ActionError = 100,
        ActivityError,
        TraceMessage
    }
}
